﻿using System.Web.Mvc;

namespace AsyncControllerSession.Controllers
{
    // Author: Otto Neff | webapps-in-action.com
    public class HomeController : Controller
    {
        public ActionResult Index()
        {
            return View();
        }
        public ActionResult Login()
        {
            Session["login"] = true;
            return RedirectToAction("Index");
        }
    }
}
